package com.xxq.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxq.common.utils.PageUtils;
import com.xxq.common.utils.R;
import com.xxq.gulimall.product.entity.CategoryEntity;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author xxq
 * @email 1607903138@qq.com
 * @date 2022-04-28 20:20:13
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R updateSort(List <CategoryEntity> categories);

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> asList);
    String getCatelogName(Long catelogId);
    Long[] getCatelogPath(Long catelogId);
}

